package cn.webrx.calendarexample;


import java.util.Calendar;

public class Ex2 {
    public static void main(String[] args) {
        var c = Calendar.getInstance();
        //c.set(Calendar.MONTH, Calendar.MARCH);
        //c.add(Calendar.MONTH, -1);
        //c.add(Calendar.DATE, -c.get(Calendar.DATE) + 1);
        //1995 10 20 18:30:50
        c.set(1995, Calendar.OCTOBER, 20, 18, 30, 50);
        System.out.printf("%tF %<tT", c);

    }
}
